.dropdown-toggle-split {
  padding-right: $farris-dropdown-toggle-split-x;
  padding-left: $farris-dropdown-toggle-split-x;
}

.btn-info {
  color: $farris-info-btn-text;
}

.f-cursor-pointer {
  cursor: pointer !important;
}

/*******************************
      输入控件中的展开收起按钮
*******************************/
.f-btn-collapse-expand {
  color: $f-text-03;
  background-color: transparent;
  box-shadow: none;

  &:hover {
    color: $f-section-header-toolbar-collapse-hover-text;
  }

  &:active {
    color: $f-theme-01;
  }

  &:focus,
  &:active {
    box-shadow: none !important;
  }

  &::after {
    @include f-icon-extend('FarrisIcons', false);
    content: '\e015';
    margin-left: $f-el-form-title-arrow-right-gutter;
  }

  &.f-state-expand::after {
    content: '\e013';
  }

  .f-toolbar & {
    padding-right: 0;
  }
}

.f-pretend-link {
  color: $farris-btn-link-color !important;
  cursor: pointer;
  text-decoration: $f-link-decoration;
  background-color: transparent;
  -webkit-text-decoration-skip: objects;

  &:hover {
    color: $farris-btn-link-hover-color;
    text-decoration: $f-link-hover-decoration;
  }
}

//btn-group组件样式
.f-btn-group {
  .f-btn-group-links {
    .btn-link {
      margin-left: $f-btn-group-gutter-y;
      margin-right: $f-btn-group-gutter-y;

      &:first-child {
        margin-left: 0;
      }

      &:last-child {
        margin-right: $f-btn-group-gutter-y - 0.1875rem;
      }
    }

    .btn-icontext {
      color: $f-theme-03;
      padding: 0 3px;
      margin: 0 0 0 $f-btn-group-gutter-y;

      .f-icon {
        margin: 0;
      }

      &:last-child {
        margin-right: 0;
      }
    }
  }

  .f-btn-group-dropdown {
    padding: 0 3px;
    margin-left: $f-btn-group-gutter-y;

    .f-btn-dropdown {
      display: inline-block;
      line-height: 1;
      border: none;
      outline: none;
      background: $farris-btn-group-dropdown-bg;
      color: $farris-btn-group-dropdown-text;
      width: 1rem;
      height: 1rem;
      line-height: 1rem;
      text-align: center;
      border-radius: 100%;
      padding: 0;

      &:hover {
        cursor: pointer;
        color: $farris-btn-group-dropdown-hover-text;
        background: $farris-btn-group-dropdown-hover-bg;
      }

      &:focus {
        color: $farris-btn-group-dropdown-focus-text;
        background: $farris-btn-group-dropdown-focus-bg;
      }

      .f-icon {
        font-size: 0.75rem;
      }
    }

    .dropdown-menu {
      min-width: 5rem;
    }
  }
}

// 下拉按钮带图标
.f-btn-group-dropdown-menu {
  z-index: 1300 !important;

  .dropdown-item {
    .dropdown-item-icon {
      margin: 0 8px 0 0;
    }
  }
}

.btn {
  &.btn-px {
    padding-left: 2.25rem;
    padding-right: 2.25rem;
  }
}